home *** CD-ROM | disk | FTP | other *** search
/ Visual Cafe 3 / Visual Cafe 3.ISO / Vcafe / Main.bin / templates.jar / symantec / itools / wizards / JFCApplet / JApplet1.java next >
Text File  |  1998-10-10  |  1KB  |  32 lines

  1. /*
  2. A basic extension of the com.sun.java.swing.JApplet class
  3. */
  4.  
  5. import com.sun.java.swing.*;
  6. import java.awt.*;
  7.  
  8. public class JApplet1 extends JApplet
  9. {
  10.     public void init()
  11.     {
  12.         // Take out this line if you don't use symantec.itools.net.RelativeURL or symantec.itools.awt.util.StatusScroller
  13.         symantec.itools.lang.Context.setApplet(this);
  14.         
  15.         // This line prevents the "Swing: checked access to system event queue" message seen in some browsers.
  16.         getRootPane().putClientProperty("defeatSystemEventQueueCheck", Boolean.TRUE);
  17.         
  18.         // This code is automatically generated by Visual Cafe when you add
  19.         // components to the visual environment. It instantiates and initializes
  20.         // the components. To modify the code, only use code syntax that matches
  21.         // what Visual Cafe can generate, or Visual Cafe may be unable to back
  22.         // parse your Java file into its visual environment.
  23.         //{{INIT_CONTROLS
  24.         getContentPane().setLayout(null);
  25.         setSize(426,266);
  26.         //}}
  27.     }
  28.  
  29.     //{{DECLARE_CONTROLS
  30.     //}}
  31. }
  32.